package com.server.service;

import java.util.List;
import java.util.Map;

import com.server.web.DataVector;
import com.server.web.RequestInput;

public interface IAttachmentService {

	public Boolean add(String operator, String actionType, Integer actionId,
			Map<String, Object> inputMap);

	public Boolean update(String operator, String id, Map<String, Object> inputMap);

	public Integer deleteAll(String ids);

	public Integer removeAll(String ids);

	public DataVector<Map<String, Object>> getList(String actionType,
			Integer actionId, Boolean containDeleted, RequestInput requestInput);
	public List<Map<String, Object>> getList(String actionType, String actionIds);
	
	public Map<String, Object> getForm(Integer id);

	public Integer clear(String ids);
	public Integer clear(String actionIds, String actionType);


}
